package org.jeecg.modules.business.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
/**
 * @author:Gan Linghao
 * @date:2020/7/14 0014
 * @time:16:44
 * @description:no description
 */
public class IotManufacturer implements Serializable {

    private static final long serialVersionUID = 1L;

    private  Long id;
    /**
     *厂商名称
     */
    private  String  name;
    /**
     *厂商地址
     */
    private  String address;
    /**
     *设备首次安装时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date firstInstalledTime;
    /**
     *联系人
     */
    private  String  contact;
    /**
     *联系人电话
     */
    private  String  contactPhone;
    /**
     *联系人2
     */
    private  String contact2;
    /**
     *联系电话2
     */
    private  String  contactPhone2;
    /**
     *备注
     */
    private  String remark;

    /**
     *创建时间
     */
    private Date createTime;
    /**
     *修改时间
     */
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getFirstInstalledTime() {
        return firstInstalledTime;
    }

    public void setFirstInstalledTime(Date firstInstalledTime) {
        this.firstInstalledTime = firstInstalledTime;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContact2() {
        return contact2;
    }

    public void setContact2(String contact2) {
        this.contact2 = contact2;
    }

    public String getContactPhone2() {
        return contactPhone2;
    }

    public void setContactPhone2(String contactPhone2) {
        this.contactPhone2 = contactPhone2;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "IotManufacturer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", firstInstalledTime=" + firstInstalledTime +
                ", contact='" + contact + '\'' +
                ", contactPhone='" + contactPhone + '\'' +
                ", contact2='" + contact2 + '\'' +
                ", contactPhone2='" + contactPhone2 + '\'' +
                ", remark='" + remark + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}

